const gameDao = require('../dao/gameDao');

const findAllGames = async ( req, res ) => {
    try {
        const results = await gameDao.findGames();
        return results;
    } catch (error) {
        console.log("error", error);
        return error;
    }
}


module.exports = {findAllGames};